package cn.iocoder.yudao.module.member.controller.admin.job.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 招聘职位更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberJobUpdateReqVO extends MemberJobBaseVO {

    @ApiModelProperty(value = "用户id", required = true)
    private Long id;

    @ApiModelProperty(value = "企业logo", required = true, example = "https://demo-oss.oss-cn-beijing.aliyuncs.com/png/ed0913589c5e4abb940bd2457eedf97c.png")
    private String companyLogo;

    @ApiModelProperty(value = "最低薪资", required = true, example = "5000")
    private Integer lowestSalary;

    @ApiModelProperty(value = "最高薪资", required = true, example = "15000")
    private Integer highestSalary;

    @ApiModelProperty(value = "部门", example = "研发部")
    private String department;

    @ApiModelProperty(value = "hr手机", example = "18512546624")
    private String phone;

    @ApiModelProperty(value = "工作周期", required = true, example = "两年")
    private String workPeriod;

    @ApiModelProperty(value = "hr邮箱", example = "chow5945@outlook.com")
    private String email;

    @ApiModelProperty(value = "招聘对象", required = true, example = "graduates")
    private String identify;

    @ApiModelProperty(value = "实习周期", required = true, example = "6个月")
    private String practicePeriod;

    @ApiModelProperty(value = "招聘人数", required = true, example = "10")
    private Integer recruitmentCount;

    @ApiModelProperty(value = "工作坐标",  example = "113.944003,22.55076")
    private String workCoordinate;

    @ApiModelProperty(value = "福利标签", required = true, example = "['五险一金','下午茶','过节补贴']")
    private String welfareTags;

    @ApiModelProperty(value = "职位描述", required = true, example = "岗位职责： 1、调研和研发资产交易平台及相关系统； 2、负责系统开发，系统设计，API接口设计，对外系统接入等； 3、解决相对复杂的技术问题，保障系统安全可靠。")
    private String jobDescription;

    @ApiModelProperty(value = "审核描述", required = true, example = "OK")
    private String checkMessage;

    @ApiModelProperty(value = "审核时间", example = "2022-04-28 17:45:21")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkTime;

    @ApiModelProperty(value = "工作语言", required = true, example = "OK")
    private String jobLanguage;

    private String remark;

    @ApiModelProperty(value = "提交时间",  example = "OK")
    private Date postTime;
}
